package com.sc.entity.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class DeviceDto {
    private String id;
    private String name;

    /** 用于检测心跳超时 */
    private Integer timeout;
    private Integer type;
    private String vendorPlatformId;
    private Integer deviceModelId;
    private String deviceModelName;
    private Boolean deleted;
    private String identityType;

    private String deviceIdentityId;


    /** 网关ID，如果设备属于某个网关 */
    private String ownerId;

    private String mac;
    private String ip;
    private String address;
    private Double lat;
    private Double lng;

    private String deviceType;


    private String activeStatus;

    private Integer statusId;

    private Long userId;

    private List<DeviceDto> children = new ArrayList<>();
    private String vendorPlatformName;
    private String productNames;
    private String lastAccessTime;
    private String StatusName;
}
